package com.dao;

import com.domain.Account;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Auther: ChenJinEn
 * @Date: 2020/8/1 16:11
 * @Description: //TODO
 */
public interface AccountMapper {
    //查询所有数据
    @Select("select * from mybatise.account;")
    List<Account> findAccountList();
    //查询一条数据
    Account getOne(Account account);
    //添加一条数据
    void insertAccount(Account account);

}
